package com.wardrobe.mapper.slave.practitioners;

import com.wardrobe.domain.practitioners.PractitionersFromBean;
import com.wardrobe.domain.practitioners.PractitionersShowBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2018/11/30.
 */
@Component("practitionersSlaveMapper")
public interface PractitionersSlaveMapper {

    List<PractitionersShowBean> selectPractionersList(PractitionersFromBean fromBean);

    long countPractionser(PractitionersFromBean fromBean);

    PractitionersShowBean selectPractionersById(int id);

    List<PractitionersShowBean> selectPractionersByName(@Param("name") String name);
}
